#library('Bubble');

/** A simple class for representing a bubble. */
class Bubble {
  
  // The color of this bubble (see Colors.dart)
  String color;
  
  // Constructor
  Bubble(String this.color);

  // Consider two bubbles to be equal if they are the same color
  bool equals(Bubble other) {
    return other != null && other.color == color;
  }
  
  // Useful for testing and debugging
  String toString() {
    return "Bubble with color: $color";
  }
  
}
